package T6;

public class Demo {
    public static void main(String[] args) {
        Musician m = new Musician("阿炳");
        Instrument e=new Erhu();
        m.play(e);
        e= new Piano();
        m.play(e);
        e= new Violin();
        m.play(e);
    }
}
